package com.coderlin1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <Description> <br>
 *
 * @author Coder_Lin<br>
 * @version 1.0<br>
 * @taskId: <br>
 * @createDate 2021/07/30 11:43 <br>
 * @see com.coderlin1.controller <br>
 */
@Controller
@RequestMapping("/page")
public class PageController {

    @RequestMapping("/dashboardPage")
    public String dashboard(){
        return "dashboard";
    }

    @RequestMapping("/addCustomerPage")
    public String addCustomer(){
        return "/customer/custAdd";
    }

    @RequestMapping("/addWorkerPage")
    public String addWorkerPage(){
        return "/worker/workerAdd";
    }
}
